// 协会资讯api
import http from '../../config';
var querystring = require('querystring');
export default {
    // 获取分页
    getAssociationActivityPage(params) {
        return http.get(
            '/api/getAssociationActivityPage', {
            'params': params
        }
        );
    },
    //详情
    getAssociationActivity(params) {
        return http.get(
            '/api/getAssociationActivity', {
            'params': params
        }
        );
    },
    // 添加
    addAssociationActivity(params) {
        return http.post(
            '/api/addAssociationActivity', params
        );
    },
    //编辑
    modifyAssociationActivity(params) {
        return http.post(
            '/api/modifyAssociationActivity', params
        );
    },
    //撤回
    revokeAssociationActivity(params) {
        return http.post(
            '/api/revokeAssociationActivity', params
        );
    },
    //删除
    deleteAssociationActivity(params) {
        return http.post(
            '/api/deleteAssociationActivity', params
        );
    },
}